// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "ToastView",
    platforms: [.iOS(.v13)],
    products: [
        .library(
            name: "ToastView",
            targets: ["ToastView"]),
    ],
    dependencies: [
        .package(url: "https://github.com/SnapKit/SnapKit.git", from: "5.6.0")
    ],
    targets: [
        .target(
            name: "ToastView",
            dependencies: ["SnapKit"],
            path: "Sources/ToastView"
        ),
        .testTarget(
            name: "ToastViewTests",
            dependencies: ["ToastView"],
            path: "Tests/ToastViewTests" // 明确指定测试目标路径
        )
    ]
)
